<?php

// 应用公共路由
Route::group(['prefix' => 'common', 'namespace' => 'Common'], function () {
    //上传
    Route::post('upload/image', 'UploadController@image')->name('upload.image'); //上传图片
    Route::post('upload/editor/image', 'UploadController@EditorUploadImage')->name('editor.upload.image');//文本编辑器上传图片
    Route::post('upload/video', 'UploadController@video')->name('upload.video'); //上传视频
    Route::post('upload/file', 'UploadController@file')->name('upload.file'); //上传文件

});